package com.easydisk.file.model.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 文件分片合并Req
 */
@Data
public class FileChunkMergeReq {

    @NotBlank(message = "文件名称不能为空")
    private String filename;

    @NotBlank(message = "文件对应的唯一标识不能为空")
    private String identifier;

    @NotNull(message = "文件大小不能为空")
    private Long totalSize;

    @NotNull(message = "父id不能为空")
    private Long parentId;
}
